package pong.game;

import pong.devices.DeviceInfoHelper;
import pong.game.data.Data;
import pong.general.GameType;
import android.content.Context;

public class GameServer extends Game {

	public GameServer(Context context, GameType gameType) {
		super(context, gameType);

	}

	@Override
	public void newGame(GameType gameType, Context context) {
		super.newGame(gameType, context);

		switch (gameType) {
			case QuickGame:
				Data.getInstance().initSize(DeviceInfoHelper.getScreenHeight(), DeviceInfoHelper.getScreenWidth());
				Data.getInstance().initPlayer();
				Data.getInstance().initBot();
				for (int q = 0; q < 5; q++)
					Data.getInstance().initWasher();
				break;

			case Company:
				break;

			case MultyPlayer1x1:
				break;

			case MultyPlayer2x2:
				break;
		}
	}
}
